import HomeView from "@/views/HomeView.vue";

//静态路由
const static_router = [
    //首页
    {
        path: '/',
        name: 'home',
        component: HomeView,
    },
    //登录
    {
        path: '/login',
        name: 'login',
        component: () => import('../views/Login.vue'),
    },
    //无效路由
    {
        path: '/*',
        name: '404',
        component: () => import('../views/404.vue'),
    },
]

export default static_router